﻿
/* Edit  */
.layui-footer {
    z-index: 2;
}
.layui-side-menu .layui-nav .layui-nav-item .layui-icon {
    /*top: 70%;*/
}
.layuiadmin-card-header-auto i.layuiadmin-button-btn {
    top: -3px;
}


/* 显示 thinkphp trace */
.layui-body {
    z-index: 0;
}

/** Add */

/**
 * 垂直选项卡
 */
.layui-tab.layui-tab-vertical {
    position: relative;
}

.layui-tab.layui-tab-vertical:after {
    content: '';
    clear: both;
    display: block;
}

.layui-tab.layui-tab-vertical > .layui-tab-title {
    width: 130px;
    height: auto;
    border: none;
    border-right: 1px solid #E9E9E9;
    box-sizing: border-box;
    padding: 10px 0;
    float: left;
}

.layui-tab.layui-tab-vertical > .layui-tab-title > li {
    display: block;
    margin-right: -1px;
    border-right: 2px solid transparent;
    white-space: normal;
    line-height: normal;
    padding: 10px 20px;
    text-align: right;
}

.layui-tab.layui-tab-vertical > .layui-tab-title > li.layui-this {
    border-right: 2px solid #5FB878;
    color: #5FB878;
}

.layui-tab.layui-tab-vertical > .layui-tab-title > li.layui-this:after {
    display: none;
}

.layui-tab.layui-tab-vertical > .layui-tab-title > li > .layui-icon {
    font-size: 14px;
    margin-right: 5px;
}

.layui-tab.layui-tab-vertical > .layui-tab-content {
    margin-left: 130px;
    padding-left: 10px;
}

.layui-tab.layui-tab-vertical.layui-tab-vertical-right > .layui-tab-title {
    float: right;
    border-right: none;
    border-left: 1px solid #E9E9E9;
}

.layui-tab.layui-tab-vertical.layui-tab-vertical-right > .layui-tab-content {
    margin-left: 0;
    margin-right: 130px;
}

.layui-tab.layui-tab-vertical.layui-tab-vertical-right > .layui-tab-title > li {
    text-align: left;
    border-left: 2px solid transparent;
    border-right: none;
}

.layui-tab.layui-tab-vertical.layui-tab-vertical-right > .layui-tab-title > li.layui-this {
    border-left: 2px solid #5FB878;
}

.layui-tab.layui-tab-vertical.layui-tab-vertical-full > .layui-tab-title {
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    min-height: 100%;
}

.layui-tab.layui-tab-vertical.layui-tab-vertical-right.layui-tab-vertical-full > .layui-tab-title {
    right: 0;
    left: auto;
}


/**
 * Loading
 */
.layui-layout-admin .layui-body > .page-loading,
.layui-layout-admin .layui-body > .layui-tab > .layui-tab-content > .layui-tab-item > .page-loading,
.layui-layout-admin .layui-body > div > iframe[lay-id] + .page-loading {
    z-index: 997;
}

.page-loading {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 19891017;
    background-color: #fff;
}

body > .page-loading {
    position: fixed;
    background-color: #f5f7f9;
}
.layui-layout-admin > .layui-body > .layui-tab > .layui-tab-content > .layui-tab-item > .page-loading,
.layui-layout-admin > .layui-body > .page-loading,
.layui-layout-admin > .layui-body > div > iframe[lay-id] + .page-loading {
    background-color: #f5f7f9;
}

.layui-layout-admin > .layui-body > .layui-body-header.show + div + .page-loading {
    top: 40px;
    height: auto;
}

.page-no-scroll {
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    min-height: 80px;
}

.ball-loader, .signal-loader, .layui-loader, .loader-1 {
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.ball-loader > span, .signal-loader > span {
    background-color: #4aca85;
    display: inline-block;
}

.ball-loader > span:nth-child(1), .ball-loader.sm > span:nth-child(1), .signal-loader > span:nth-child(1), .signal-loader.sm > span:nth-child(1) {
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}

.ball-loader > span:nth-child(2), .ball-loader.sm > span:nth-child(2), .signal-loader > span:nth-child(2), .signal-loader.sm > span:nth-child(2) {
    -webkit-animation-delay: 0.1s;
    animation-delay: 0.1s;
}

.ball-loader > span:nth-child(3), .ball-loader.sm > span:nth-child(3), .signal-loader > span:nth-child(3), .signal-loader.sm > span:nth-child(3) {
    -webkit-animation-delay: 0.15s;
    animation-delay: 0.15s;
}

.ball-loader > span:nth-child(4), .ball-loader.sm > span:nth-child(4), .signal-loader > span:nth-child(4), .signal-loader.sm > span:nth-child(4) {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
}

/* Layui简洁风格loading */
.layui-loader .layui-icon {
    font-size: 36px;
    color: #bbb;
}

.layui-loader.sm .layui-icon {
    font-size: 30px;
}

/* 球形loading */
.ball-loader > span {
    width: 20px;
    height: 20px;
    margin: 0 3px;
    border-radius: 50%;
    -webkit-transform: scale(0);
    -ms-transform: scale(0);
    transform: scale(0);
    -webkit-animation: 1s ball-load ease-in-out infinite;
    animation: ball-load 1s ease-in-out infinite;
}

@-webkit-keyframes ball-load {
    0% {
        -webkit-transform: scale(0);
    }
    50% {
        -webkit-transform: scale(1);
    }
    100% {
        -webkit-transform: scale(0);
    }
}

@keyframes ball-load {
    0% {
        transform: scale(0);
    }
    50% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}

.ball-loader.sm > span {
    width: 15px;
    height: 15px;
    margin: 0 2px;
}

/* 信号loading */
.signal-loader {
    width: 50px;
    height: 22px;
}

.signal-loader > span {
    width: 8px;
    height: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0;
    -webkit-animation: signal-load 1s infinite;
    animation: signal-load 1s infinite;
}

.signal-loader > span:nth-child(2) {
    left: 14px;
}

.signal-loader > span:nth-child(3) {
    left: 28px;
}

.signal-loader > span:nth-child(4) {
    left: 42px;
}

@-webkit-keyframes signal-load {
    0% {
        height: 0;
    }
    50% {
        height: 22px;
    }
    100% {
        height: 0;
    }
}

@keyframes signal-load {
    0% {
        height: 0;
    }
    50% {
        height: 22px;
    }
    100% {
        height: 0;
    }
}

/* 信号loading小型 */
.signal-loader.sm {
    width: 32px;
    height: 15px;
}

.signal-loader.sm > span {
    width: 5px;
    -webkit-animation: signal-load-sm 1s infinite;
    animation: signal-load-sm 1s infinite;
}

.signal-loader.sm > span:nth-child(2) {
    left: 9px;
}

.signal-loader.sm > span:nth-child(3) {
    left: 18px;
}

.signal-loader.sm > span:nth-child(4) {
    left: 27px;
}

@-webkit-keyframes signal-load-sm {
    0% {
        height: 0;
    }
    50% {
        height: 15px;
    }
    100% {
        height: 0;
    }
}

@keyframes signal-load-sm {
    0% {
        height: 0;
    }
    50% {
        height: 15px;
    }
    100% {
        height: 0;
    }
}

/* loading-1 */
.loader-1 > span {
    width: 45px;
    height: 45px;
    display: inline-block;
    padding: 0;
    border-radius: 100%;
    border: 5px solid;
    border-top-color: #4aca85;
    border-bottom-color: rgba(0, 0, 0, 0.1);
    border-left-color: #4aca85;
    border-right-color: rgba(0, 0, 0, 0.1);
    -webkit-animation: loader4 1s ease-in-out infinite;
    animation: loader-1 1s ease-in-out infinite;
}

@keyframes loader-1 {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes loader-1 {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
    }
}

/* loading-2 */
.loader-2 > span {
    display: block;
    position: relative;
    left: 50%;
    top: 50%;
    width: 100px;
    height: 100px;
    margin: -3px 0 0 -53px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #4aca85;
    animation: loader-2 2s linear infinite;
}

.loader-2 > span:before {
    content: "";
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #4aca85;
    animation: loader-2 3s linear infinite;
}

.loader-2 > span:after {
    content: "";
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #4aca85;
    animation: loader-2 1.5s linear infinite;
}

@keyframes loader-2 {
    0% {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(1turn);
    }
}

/* 按钮加载中状态 */
.btn-loading {
    opacity: .8;
    pointer-events: none;
}

.btn-loading > .btn-loading-text {
    font-size: 14px !important;
    display: inline-block !important;
}

.btn-loading.layui-btn-sm > .btn-loading-text, .btn-loading.layui-btn-xs > .btn-loading-text {
    font-size: 12px !important;
}

.btn-loading.layui-btn-lg > .btn-loading-text {
    font-size: 16px !important;
}

/* table 加载动画 */
.layui-table-init .layui-icon-loading {
    width: 32px;
    height: 32px;
    /*background: url(/public/static/img/loading-spinner-blue.gif) no-repeat;*/
    background: url(../../img/loading.gif) no-repeat;
}
.layui-table-init .layui-icon-loading:before {
    content: none !important;
}
.layui-table-init .layui-anim-rotate {
    animation-name: none !important;
}


/**
 * 文件上传
 */
/* Uploadfile */
.upload_file-box img.load_img, .upload_file-box img.exist-file, .upload_img-box img.load_img, .upload_img-box img.exist-file {
    width: 100px;
    height: 100px;
    padding: 4px;
    cursor: pointer;
    border: 1px solid #ccc;
}
.upload_file-box img.del, .upload_img-box img.del {
    width: 24px;
    height: 24px;
    margin-top: -106px;
    margin-left: -12px;
    cursor: pointer;
    border: 0;
}

.upload_video-box {
    display: flex;
    align-items: center;
}

.upload_video-box img.load_img, .upload_video-box video {
    width: 100px;
    height: 100px;
    padding: 4px;
    cursor: pointer;
    border: 1px solid #ccc;
}
.upload_video-box img.del {
    width: 24px;
    height: 24px;
    margin-top: -210px;
    margin-left: -16px;
    cursor: pointer;
    border: 0;
}


.uploader-div {
    border: solid 1px #ccc;
    width: 100px;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
}

.video-modal {
    /*position: fixed;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 500px;
    margin-left: -248px;
    margin-top: -290px;*/
    background: #fff;
    border-radius: 10px;
    z-index: 1001;
}

.video-box {
    width: 100%;
    height: 454px;
    margin: 0 auto;
    outline: 0;
}

.upload-progress {
    display: none;
}

.upload-progress .mask {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: #ccc;
    opacity: 0.8;
    filter: alpha(Opacity=80);
    -moz-opacity: 0.8;
    z-index: 999;
}

.upload-progress .progress {
    position: fixed;
    width: 300px;
    left: 50%;
    margin-left: -150px;
    top: 40%;
    border-radius: 10px;
    background: #fff;
    z-index: 9999;
    overflow: hidden;
}


.thumb-box {
    height: 151px;
    overflow: hidden;
    border: 1px solid #e6e6e6;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    text-align: center;
    line-height: 153px;
}

.thumb-img {
    max-width: 100%;
    max-height: 100%;
    border: none;
}

.thumb-box:after {
    position: absolute;
    width: 100%;
    height: 100%;
    line-height: 153px;
    z-index: 1;
    text-align: center;
    font-size: 20px;
    /*content: "缩略图";*/
    /*content: "\7f29\7565\56fe";*/
    content: "\4e0a\4f20\56fe\7247";/*上传图片*/
    left: 0;
    top: 0;
    color: #9F9F9F;
}


/**
 * Other
 */
.w_fly{
    display: flex;
    justify-content: flex-start;
}

.v {
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
}

.h {
    display: -webkit-flex;
    display: flex;
    flex-direction: row;
}
.v_center {
    display: -webkit-flex;
    display: flex;
    align-items: center; /*垂直居中*/
}

.h_center {
    display: -webkit-flex;
    display: flex;
    justify-content: center;
}

.h_v_center {
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
}
.between {
    display: flex;
    display: -webkit-flex;
    justify-content: space-between;
}
.around {
    display: flex;
    display: -webkit-flex;
    justify-content: space-around;
}
.flex_wrap {
    display: flex;
    display: -webkit-flex;
    flex-wrap: wrap;
}
